'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	// 下载与版本
	const version = await db.collection('version').get()
	
	//返回数据给客户端
	return {
		code:200,
		data:{
			version:version.data[0].current_version,
			downLoadLinkUrl:'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-c6c8ed10-585c-4167-8a85-469e7887d6d0/7e7bb4da-d6d1-43ac-a1f8-fbfc9fffd8c5.apk'
		}
	}
};
